<div id="sideMenu" style="height: 100%; width: 220px;" class="">
                            <div style="height:100%!important;" class="pear-side-scroll layui-side-scroll dark-theme">
                <ul lay-filter="sideMenu" class="layui-nav arrow pear-menu layui-nav-tree pear-nav-tree" lay-accordion="true">
                 <!--ul lay-filter="sideMenu" class="layui-nav layui-nav-tree arrow2" lay-shrink="all" lay-accordion="true"-->
            <li class="layui-nav-item">
                    <a class="site-demo-active" menu-type="1" menu-url="/user/home" menu-id="10" menu-title="控制台" menu-icon="iconfont icon-apartment" href="javascript:;"><i class="layui-icon layui-icon-console"></i><span>&nbsp;&nbsp;&nbsp;&nbsp;控制台</span></a>
                </li>
                {volist name="menu" id="v"}
                <li class="layui-nav-item">
                    <a 
                    {if isset($v['children'])} 
                    href="javascript:;" 
                    {else} 
                    class="site-demo-active" menu-type="1" menu-url="{:url($v.url)}" menu-id="{$v.id}" menu-title="{$v.name}" menu-icon="iconfont icon-apartment" href="javascript:;"
                    {/if}><label class="layui-icon {$v.icon}"></label>&emsp;<cite><?php if($v['name']=='最新消息'){ if ($notice > '0'){ echo $v['name'].'<span class="layui-badge-dot"></span>';  }else{ echo $v['name']; } }else{ echo $v['name']; } ?></cite></a>
                    {if isset($v['children'])}
                    <dl class="layui-nav-child">
                        {volist name="v['children']" id="vv"}
                        <dd>
                            <a {if isset($vv['children'])} href="javascript:;" {else} class="site-demo-active" menu-type="1" menu-url="{:url($vv.url)}" menu-id="{$vv.id}" menu-title="{$vv.name}" menu-icon="iconfont icon-apartment" href="javascript:;"{/if}><label class="layui-icon {$vv.icon}"></label>&emsp;<cite>{$vv.name}</cite></a>
                            {if isset($vv['children'])}
                            <dl class="layui-nav-child">
                                {volist name="vv['children']" id="vvv"}
                                <dd><a class="site-demo-active" menu-type="1" menu-url="{:url($vvv.url)}" menu-id="{$vvv.id}" menu-title="{$vvv.name}" menu-icon="iconfont icon-apartment" href="javascript:;"><label class="layui-icon {$vvv.icon}"></label>&emsp;<span>{$vvv.name}</span></a></dd>
                                {/volist}
                            </dl>
                            {/if}
                        </dd>
                        {/volist}
                    </dl>
                    {/if}
                </li>
                {/volist}
            </ul>
                 </div>
              </div>